/*
 * @Author: 张腾越
 * @Date: 2024-12-25 11:08:28
 * @LastEditors: 张腾越
 * @LastEditTime: 2024-12-25 19:59:01
 * @Description:
 * @FilePath: \vue3_admin_template\src\api\product\trademark\type.ts
 */
export interface ResponseData {
  code: number
  message: string
  ok: boolean
}

//已有品牌的ts数据类型
export interface TradeMark {
  id?: number
  tmName: string
  logoUrl: string
}

//包含全部品牌数据的ts类型
export type Records = TradeMark[]

//获取的已有全部品牌的数据ts类型
export interface TradeMarkResponseData extends ResponseData {
  data: {
    records: Records
    total: number
    size: number
    current: number
    searchCount: boolean
    pages: number
  }
}
